package org.cargloss.cp.controller.users;

import java.util.ArrayList;
import java.util.List;

import com.opensymphony.xwork2.ActionSupport;

public class AdminAction extends ActionSupport {

	private boolean subMenu;
	private String nav;
	private static final long serialVersionUID = 3107220959703009022L;

	public String execute() {
		return SUCCESS;
	}

	public String home() {
		subMenu = false;
		return SUCCESS;
	}

	public String user() {
		subMenu = true;

		setNav("Admin > Manage Menu");

		return SUCCESS;
	}

	public boolean isSubMenu() {
		return subMenu;
	}

	public void setSubMenu(boolean subMenu) {
		this.subMenu = subMenu;
	}

	public String getNav() {
		return nav;
	}

	public void setNav(String nav) {
		this.nav = nav;
	}

}
